// 导入request.js请求工具
import request from '@/utils/request.js'
// 获取菜品分类列表
export const getCategoryListApi = () => {
    return request.get('/category/list')
}
// 查套餐列表的接口
export const querySetmealListApi = (params) => {
    return request.get('/setmeal/list', {
        params
    })
}
// 查菜品列表的接口
export const queryDishListApi = (params) => {
    return request.get('/dish/list', {
        params
    })
}
// 查添加购物车的接口
export const addShoppingApi = (params) => {
    return request.post('/shoppingCart/save', params)
}